projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a8267b
)
Zero our allocated struct.
author
robertl
<robertl>
Tue, 21 Jan 2003 14:13:26 +0000
(14:13 +0000)
committer
robertl
<robertl>
Tue, 21 Jan 2003 14:13:26 +0000
(14:13 +0000)
mkshort.c
patch
|
blob
|
history
diff --git
a/mkshort.c
b/mkshort.c
index 9abf9e09cb6a3739e9a8d7f56c0d462997b6485d..64d17d91fa0b3a1ec2b38f914c7aed55528f1392 100644
(file)
--- a/
mkshort.c
+++ b/
mkshort.c
@@
-65,7
+65,7
@@
mkshort_add_to_list(mkshort_handle *h, char *name)
{
queue *e, *t;
int hash;
- uniq_shortname *s = x
malloc(
sizeof (uniq_shortname));
+ uniq_shortname *s = x
calloc(1,
sizeof (uniq_shortname));
s->orig_shortname = strdup(name);
hash = hash_string(name);